using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DevExpress.XtraPrinting;
using ERP.Reports;
using ERP.Classes;

namespace ERP.View
{
    public partial class viewReport : DevExpress.XtraEditors.XtraForm
    {
        public DataTable dt_In = null;
        public DataTable dt_HD = null;
        public int int_BaoCao = 0;
        public string ban = "";
        public DevExpress.XtraReports.UI.XtraReport rpt;

        public viewReport()
        {
            InitializeComponent();
        }

        private void frm_InBaoCao_PhongKham_Load(object sender, EventArgs e)
        {
            this.inBaobieu(this.rpt);
        }
        public void inBaobieu(DevExpress.XtraReports.UI.XtraReport rpt)
        {
            rpt.DataSource = dt_In;
            //rpt. = this.printingSystem1;
            rpt.CreateDocument();
        }

        

        
        
    }
}